const info = {
  name: "pengfan",
  age: 18,
};

info.name = "pengyutong";

type Method = "GET" | "POST";
function request(url: string, method: Method) {}

type Request = {
  url: string;
  method: Method;
};

const options = {
  url: "https://baidu.com",
  method: "POST",
} as const;

request(options.url, options.method);
export {};
